<script setup lang="ts">
const pdfFile = ref("http://localhost:5173/public/test02.pdf");
</script>

<template>
  <div class="container">
    <iframe :src="pdfFile" width="100%" height="800px" frameborder="0"></iframe>
  </div>
</template>

<style scoped>
.container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  min-height: 100%;
}

button {
  margin-top: 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #e1e1e1;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  /* outline: 4px auto -webkit-focus-ring-color; */
  outline: 4px auto #646cff;
}
</style>
